package cn.iocoder.yudao.module.currency.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author cai
 * @date 2024/03/07 10:19
 */
@Component
@ConfigurationProperties(prefix = "payment.currency")
@Data
public class PaymentCurrencyConfig {

    private String code;

    /**
     * 是否开启同步
     */
    private Boolean syncEnable = false;

    /**
     * 字典key
     */
    private String dictKey = "currency_rate_sync";

}
